package com.secsbrain.cmdb.dal.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 主机裸机表
 *
 */
@TableName(value = "cmdb_host_bare")
public class HostBare implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 主机ID */
	@TableField(value = "ihost_id")
	private Long ihostId;

	/** CPU颗数 */
	@TableField(value = "cpu_grain_num")
	private Integer cpuGrainNum;

	/** CPU插槽数 */
	@TableField(value = "cpu_slot_num")
	private Integer cpuSlotNum;

	/** 内存型号 */
	@TableField(value = "mem_model")
	private String memModel;

	/** 内存数量 */
	@TableField(value = "mem_num")
	private Integer memNum;

	/** 内存插槽数 */
	@TableField(value = "mem_slot_num")
	private Integer memSlotNum;

	/** 硬盘型号 */
	@TableField(value = "disk_model")
	private String diskModel;

	/** 硬盘数量 */
	@TableField(value = "disk_num")
	private Integer diskNum;

	/** 硬盘插槽数 */
	@TableField(value = "disk_slot_num")
	private Integer diskSlotNum;

	/** 电源型号 */
	@TableField(value = "power_model")
	private String powerModel;

	/** 电源数量 */
	@TableField(value = "power_num")
	private Integer powerNum;

	/** 电源插槽数 */
	@TableField(value = "power_slot_num")
	private Integer powerSlotNum;

	/** 网口数量 */
	@TableField(value = "net_num")
	private Integer netNum;

	/** 网口已用数量 */
	@TableField(value = "net_use_num")
	private Integer netUseNum;

	/** RAID信息 */
	@TableField(value = "raid_info")
	private String raidInfo;
	
	@TableField(exist = false)
	private Integer uposition;
	
	/** 创建时间 */
	@TableField(exist = false)
	private Date createTime;

	/** 更新时间 */
	@TableField(exist = false)
	private Date updateTime;

	/** 创建人 */
	@TableField(exist = false)
	private String creator;

	/** 更新人 */
	@TableField(exist = false)
	private String updator;

	/** 系统内核，如Linux */
	@TableField(exist = false)
	private String kernel;

	/** 系统内核版本，如4.9.0-deepin9-amd64 */
	@TableField(exist = false)
	private String kernelRelease;

	/** 设备类型，如VMware */
	@TableField(exist = false)
	private String type;

	/** 主机名，如10.0.0.16 */
	@TableField(exist = false)
	private String hostName;
	
	@TableField(exist = false)
	private String clusterName;

	/** ip，如10.0.0.16，多个以,分隔 */
	@TableField(exist = false)
	private String ip;

	/** 主机，如kira-PC */
	@TableField(exist = false)
	private String host;

	/** 操作系统，如Deepin */
	@TableField(exist = false)
	private String os;

	/** 操作系统版本，如('15.4.1',) */
	@TableField(exist = false)
	private String osrelease;

	/** Salt版本，如2017.7.2 */
	@TableField(exist = false)
	private String saltversion;

	/** SN号，如VMware-56 4d ed d8 d1 18 b8 fb-b2 27 f6 2c 9c 84 26 14 */
	@TableField(exist = false)
	private String systemSerialnumber;

	/** CPU数量，如1 */
	@TableField(exist = false)
	private Integer numCpus;

	/** CPU型号，如Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz */
	@TableField(exist = false)
	private String cpuModel;

	/** 产品名称，如VMware Virtual Platform */
	@TableField(exist = false)
	private String productname;

	/** 系统架构，如x86_64 */
	@TableField(exist = false)
	private String osarch;

	/** CPU架构，如x86_64 */
	@TableField(exist = false)
	private String cpuarch;

	/** 内存大小，如7969 */
	@TableField(exist = false)
	private Integer memTotal;

	/** Minion状态 */
	@TableField(exist = false)
	private Integer minionStatus;
	
	/** 删除状态 */
	@TableField(exist = false)
	private Integer delStatus;

	/** 机柜ID */
	@TableField(exist = false)
	private Long cabinetId;

	/** 机房ID */
	@TableField(exist = false)
	private Long idcId;
	
	@TableField(exist = false)
	private String rackName;

	/** 机架ID */
	@TableField(exist = false)
	private Long rackId;
	
	/** 部署分组 */
	@TableField(exist = false)
	private String groupName;
	
	/** 应用环境 */
	@TableField(exist = false)
	private String env;
	
	/** 备注 */
	@TableField(exist = false)
	private String comment;
	
	/** 磁盘容量 */
	@TableField(exist = false)
	private Integer diskCapacity;
	
	/** 公网ip */
	@TableField(exist = false)
	private String ipPublic;

	/** 用途 */
	@TableField(exist = false)
	private String purpose;

	/** 负责人 */
	@TableField(exist = false)
	private String manager;

	/** 状态：0闲置，1在用，2故障，3报废 */
	@TableField(exist = false)
	private Integer istatus;
	
	/** 关联主机名 */
	@TableField(exist = false)
	private String relativeHost;
	
	/** 采购日期 */
	@TableField(exist = false)
	private Date purchaseDate;
	
	/** 保修到期 */
	@TableField(exist = false)
	private Date periodDate;
	
	/** 固定资产编号 */
	@TableField(exist = false)
	private String assetNumber;

	/** U数 */
	@TableField(exist = false)
	private String udesc;

	/** 机柜 */
	@TableField(exist = false)
	private String cabinet;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getIhostId() {
		return this.ihostId;
	}

	public void setIhostId(Long ihostId) {
		this.ihostId = ihostId;
	}

	public Integer getCpuGrainNum() {
		return this.cpuGrainNum;
	}

	public void setCpuGrainNum(Integer cpuGrainNum) {
		this.cpuGrainNum = cpuGrainNum;
	}

	public Integer getCpuSlotNum() {
		return this.cpuSlotNum;
	}

	public void setCpuSlotNum(Integer cpuSlotNum) {
		this.cpuSlotNum = cpuSlotNum;
	}

	public String getMemModel() {
		return this.memModel;
	}

	public void setMemModel(String memModel) {
		this.memModel = memModel;
	}

	public Integer getMemNum() {
		return this.memNum;
	}

	public void setMemNum(Integer memNum) {
		this.memNum = memNum;
	}

	public Integer getMemSlotNum() {
		return this.memSlotNum;
	}

	public void setMemSlotNum(Integer memSlotNum) {
		this.memSlotNum = memSlotNum;
	}

	public String getDiskModel() {
		return this.diskModel;
	}

	public void setDiskModel(String diskModel) {
		this.diskModel = diskModel;
	}

	public Integer getDiskNum() {
		return this.diskNum;
	}

	public void setDiskNum(Integer diskNum) {
		this.diskNum = diskNum;
	}

	public Integer getDiskSlotNum() {
		return this.diskSlotNum;
	}

	public void setDiskSlotNum(Integer diskSlotNum) {
		this.diskSlotNum = diskSlotNum;
	}

	public String getPowerModel() {
		return this.powerModel;
	}

	public void setPowerModel(String powerModel) {
		this.powerModel = powerModel;
	}

	public Integer getPowerNum() {
		return this.powerNum;
	}

	public void setPowerNum(Integer powerNum) {
		this.powerNum = powerNum;
	}

	public Integer getPowerSlotNum() {
		return this.powerSlotNum;
	}

	public void setPowerSlotNum(Integer powerSlotNum) {
		this.powerSlotNum = powerSlotNum;
	}

	public Integer getNetNum() {
		return this.netNum;
	}

	public void setNetNum(Integer netNum) {
		this.netNum = netNum;
	}

	public Integer getNetUseNum() {
		return this.netUseNum;
	}

	public void setNetUseNum(Integer netUseNum) {
		this.netUseNum = netUseNum;
	}

	public String getRaidInfo() {
		return this.raidInfo;
	}

	public void setRaidInfo(String raidInfo) {
		this.raidInfo = raidInfo;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getKernel() {
		return kernel;
	}

	public void setKernel(String kernel) {
		this.kernel = kernel;
	}

	public String getKernelRelease() {
		return kernelRelease;
	}

	public void setKernelRelease(String kernelRelease) {
		this.kernelRelease = kernelRelease;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getClusterName() {
		return clusterName;
	}

	public void setClusterName(String clusterName) {
		this.clusterName = clusterName;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getOs() {
		return os;
	}

	public void setOs(String os) {
		this.os = os;
	}

	public String getOsrelease() {
		return osrelease;
	}

	public void setOsrelease(String osrelease) {
		this.osrelease = osrelease;
	}

	public String getSaltversion() {
		return saltversion;
	}

	public void setSaltversion(String saltversion) {
		this.saltversion = saltversion;
	}

	public String getSystemSerialnumber() {
		return systemSerialnumber;
	}

	public void setSystemSerialnumber(String systemSerialnumber) {
		this.systemSerialnumber = systemSerialnumber;
	}

	public Integer getNumCpus() {
		return numCpus;
	}

	public void setNumCpus(Integer numCpus) {
		this.numCpus = numCpus;
	}

	public String getCpuModel() {
		return cpuModel;
	}

	public void setCpuModel(String cpuModel) {
		this.cpuModel = cpuModel;
	}

	public String getProductname() {
		return productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public String getOsarch() {
		return osarch;
	}

	public void setOsarch(String osarch) {
		this.osarch = osarch;
	}

	public String getCpuarch() {
		return cpuarch;
	}

	public void setCpuarch(String cpuarch) {
		this.cpuarch = cpuarch;
	}

	public Integer getMemTotal() {
		return memTotal;
	}

	public void setMemTotal(Integer memTotal) {
		this.memTotal = memTotal;
	}

	public Integer getMinionStatus() {
		return minionStatus;
	}

	public void setMinionStatus(Integer minionStatus) {
		this.minionStatus = minionStatus;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public Long getCabinetId() {
		return cabinetId;
	}

	public void setCabinetId(Long cabinetId) {
		this.cabinetId = cabinetId;
	}

	public Long getIdcId() {
		return idcId;
	}

	public void setIdcId(Long idcId) {
		this.idcId = idcId;
	}

	public Long getRackId() {
		return rackId;
	}

	public void setRackId(Long rackId) {
		this.rackId = rackId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getEnv() {
		return env;
	}

	public void setEnv(String env) {
		this.env = env;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Integer getDiskCapacity() {
		return diskCapacity;
	}

	public void setDiskCapacity(Integer diskCapacity) {
		this.diskCapacity = diskCapacity;
	}

	public String getIpPublic() {
		return ipPublic;
	}

	public void setIpPublic(String ipPublic) {
		this.ipPublic = ipPublic;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public Integer getIstatus() {
		return istatus;
	}

	public void setIstatus(Integer istatus) {
		this.istatus = istatus;
	}

	public String getRelativeHost() {
		return relativeHost;
	}

	public void setRelativeHost(String relativeHost) {
		this.relativeHost = relativeHost;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public Date getPeriodDate() {
		return periodDate;
	}

	public void setPeriodDate(Date periodDate) {
		this.periodDate = periodDate;
	}

	public String getAssetNumber() {
		return assetNumber;
	}

	public void setAssetNumber(String assetNumber) {
		this.assetNumber = assetNumber;
	}

	public String getUdesc() {
		return udesc;
	}

	public void setUdesc(String udesc) {
		this.udesc = udesc;
	}

	public String getCabinet() {
		return cabinet;
	}

	public void setCabinet(String cabinet) {
		this.cabinet = cabinet;
	}

	public String getRackName() {
		return rackName;
	}

	public void setRackName(String rackName) {
		this.rackName = rackName;
	}

	public Integer getUposition() {
		return uposition;
	}

	public void setUposition(Integer uposition) {
		this.uposition = uposition;
	}

}
